import request from './request.js'


// 图片上传
function upload(data) {
	return request({
		url: `api/upload`,
		method: 'post',
		data: data
	})
}
function config() {
	return request({
		url: `api/config`,
		method: 'post',
	})
}
// 表单提交
function save(data) {
	return request({
		url: `api/save`,
		method: 'post',
		data
	})
}


export {
	upload,
	config,
	save
}